package com.sjdang.springcloud.learning.service.impl;

import org.springframework.stereotype.Component;

import com.sjdang.springcloud.learning.service.ConsumeEurekaClient;

@Component
public class ConsumeEurekaClientHystrix implements ConsumeEurekaClient {

	@Override
	public String sayHello(String name) {
		return "Hi, " + name + ", I am so sorry for error.";
	}

}
